Skip to content

Add themes endpoint#1995

Closed
bsuttor wants to merge 5 commits intomainfrom
bsuttor-issue-1994-add-themes-endpoint
Closed

Add themes endpoint#1995
bsuttor wants to merge 5 commits intomainfrom
bsuttor-issue-1994-add-themes-endpoint

Conversation

@bsuttor
Copy link
Member

@bsuttor bsuttor commented Mar 11, 2026

  • I signed and returned the Plone Contributor Agreement, and received and accepted an invitation to join a team in the Plone GitHub organization.
  • I verified there aren't any other open pull requests for the same change.
  • I followed the guidelines in Contributing to Plone.
  • I successfully ran code quality checks on my changes locally.
  • I successfully ran tests on my changes locally.
  • If needed, I added new tests for my changes.
  • If needed, I added documentation for my changes.
  • I included a change log entry in my commits.

If your pull request closes an open issue, include the exact text below, immediately followed by the issue number. When your pull request gets merged, then that issue will close automatically.

Closes #1994.


📚 Documentation preview 📚: https://plonerestapi--1995.org.readthedocs.build/

bsuttor added 2 commits March 11, 2026 15:09
Add GET, POST and PATCH /@themes services to list available themes, upload a Diazo theme from a zip file, and activate/deactivate themes. Enables theme provisioning from a Kubernetes initContainer without requiring access to the Plone control panel UI.
@mister-roboto
Copy link

@bsuttor thanks for creating this Pull Request and helping to improve Plone!

TL;DR: Finish pushing changes, pass all other checks, then paste a comment:

@jenkins-plone-org please run jobs

To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass, but it takes 30-60 min. Other CI checks are usually much faster and the Plone Jenkins resources are limited, so when done pushing changes and all other checks pass either start all Jenkins PR jobs yourself, or simply add the comment above in this PR to start all the jobs automatically.

Happy hacking!

@bsuttor
Copy link
Member Author

bsuttor commented Mar 11, 2026

@jenkins-plone-org please run jobs

@bsuttor
Copy link
Member Author

bsuttor commented Mar 12, 2026

Move to plone.app.theming

@bsuttor bsuttor closed this Mar 12, 2026
@bsuttor bsuttor deleted the bsuttor-issue-1994-add-themes-endpoint branch March 12, 2026 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add @themes REST endpoint for programmatic theme management

2 participants